<template>
  <div class="admin-home">
    <el-card class="welcome-card">
      <template #header>
        <div class="card-header">
          <span>欢迎使用管理系统</span>
        </div>
      </template>
      <div class="content">
        <p>这是后台管理系统的首页。</p>
        <el-button type="primary" @click="$message.success('您已成功登录')">欢迎</el-button>
      </div>
    </el-card>
  </div>
</template>

<script setup lang="ts">
// 后台管理首页相关的逻辑
</script>

<style scoped lang="scss">
.admin-home {
  .welcome-card {
    margin-bottom: 20px;
    
    .card-header {
      font-weight: bold;
      font-size: 18px;
    }
    
    .content {
      p {
        font-size: 16px;
        margin-bottom: 20px;
      }
    }
  }
}
</style>